package com.haixiaoke.saas.repository.pojo;

import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;


/**
 * 验房设施对象 biz_house_inspection_facility
 *
 * @author xiaolong
 * @date 2023-04-17
 */
@Data
public class HouseInspectionFacility extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public static final Integer ORDER_STATE_USER_HOUSE_INSPECTION = 1;   //用户入住验房
    public static final Integer ORDER_STATE_USER_LEASE_HOUSE_INSPECTION = 2;   //用户退租验房
    public static final Integer ORDER_STATE_ENTERPRISE_LEASE_HOUSE_INSPECTION = 3;   //企业退租验房
    /**
     * 设施状态：正常
     */
    public static final Integer FACILITIES_STATE_NO = 1;
    /**
     * 设施状态：异常
     */
    public static final Integer FACILITIES_STATE_YES = 2;
    /**
     * redis-key，存放被损坏的房屋设施
     */
    public static final String HOUSEINSPECTIONFACILITY_REDIS_KEY = "houseInspectionFacility:key:";
    /** 设施验房id */
    private Long facilitiesInspectionId;

    /** 订单id */
    private String orderId;

    /** 房屋设施id */
    private Long facilitiesId;

    /** 房屋id */
    private String houseId;

    /** 设施图片 */
    private String facilitiesImg;

    /** 房屋图片 */
    //private String houseImg;

    /** 房屋设施名 */
    private String facilitiesName;

    /** 设施价格 */
    private Double facilitiesPrice;

    /** 设施状态：1正常 2已损坏 */
    private Integer facilitiesState;

    /** 逻辑删除标志(0代表存在 2代表删除） */
    private Integer delFlag;

    /** 验房状态：1入住用户验房 2退租用户验房 3退租商家验房*/
    private Integer inspectionStatus;


}
